uv run --active pybabel extract --ignore-dirs=ai-agent -F babel.cfg -o locals/messages.pot .

# uv run pybabel init -i locals/messages.pot -d locals -l zh
# pybabel extract -F babel.cfg -k lazy_gettext -o messages.pot .
pybabel init -i messages.pot -d translations -l zh
uv run --active pybabel update -i ./locals/messages.pot -d locals
uv run --active pybabel  compile -d locals